package demo02;

/**
 * @author: WangPeng
 * @createTime: 2022/10/25 17:03
 * @description:
 * @version: v1.0
 */
public class Demo02Test {
    public static void main(String[] args) {
        Point<Integer> Point1 = new Point<>(12,13);
        Integer x = Point1.getX();
        Integer y = Point1.getY();
        System.out.println(Point1);

        Point<String> point2 = new Point<>("东经150度","北纬25度");
        String x1 = point2.getX();
        String y2 = point2.getY();
        System.out.println(point2);
     }
}
